{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "c2d83cb8",
   "metadata": {},
   "source": [
    "|列表的方法| 描述 |使用方法 | 备注 |\n",
    "| ---------| ----------- | ----------- | ----------- |\n",
    "| append  |Append object to the end of the list.|list.append(object)| 注意增加在末尾 |\n",
    "| count   |统计某个元素在列表中出现的次数 |list.count(object)|查找列表中的元素|\n",
    "|extend   |在列表末尾一次性追加另一个序列中的多个值|list.extend(seq)|用新列表扩展原来的列表|\n",
    "|index    |从列表中找出某个值第一个匹配项的索引位置|list.index（object）||\n",
    "|insert   |将对象插入列表|list.insert（）|默认往最后面插入这个对象|\n",
    "|clear    |removes all items from list|list.clear()|列表本身并不会被删除|\n",
    "|copy    |列表的拷贝|list.copy()||\n",
    "|pop|移除列表里面的不想要的元素,并返回该元素|list.pop()|如果不传入任何参数，那么默认就移除最后那个元素，并返回这个元素|\n",
    "|remove|传入你要移除的那个元素|list.remove()|不是那个元素的索引序号|\n",
    "|reverse|列表倒序|list.reserve|反向列表中元素|\n",
    "|sort|对列表进行排序|list.sort|对原列表进行排序|\n",
    "|mro|find a method in a class.|list.mro()||\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "cbbd68a0",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on method_descriptor:\n",
      "\n",
      "insert(self, index, object, /)\n",
      "    Insert object before index.\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help (list.insert)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "b39c3d6a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on built-in function mro:\n",
      "\n",
      "mro() method of builtins.type instance\n",
      "    Return a type's method resolution order.\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help (list.)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f44b64d7",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
